package com.smedi.ismedi.file.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

@Data
@Validated
@ApiModel(description = "签章请求")
public class SignatureRequest {
    @ApiModelProperty(value = "文件key")
    @NotNull(message = "文件key不能为空")
    private String fileKey;

    @ApiModelProperty(value = "员工编号")
    @NotNull(message = "员工编号不能为空")
    private Long workerId;

    @ApiModelProperty(value = "签章关键字")
    @NotNull(message = "签章关键字不能为空")
    private String signLocation;
}
